package com.lagou.service;

import com.lagou.domain.*;

import java.util.List;

public interface RoleService {
    public abstract List<Role> findAllRole(Role role);
    public abstract void saveRole(Role role);
    public abstract void updateRole(Role role);
    public abstract List<Menu> findSubMenuListByPid(int pid);
    public abstract List<String> findMenuByRoleId(int roleId);
    public abstract void roleContextMenu(RoleMenuVo roleMenuVo);
    public abstract void deleteRole(int id);
    public abstract List<ResourceCategory> findResourceListByRoleId(int id);
    public abstract void roleContextResource(RoleResourceVo roleResourceVo);
}
